<!DOCTYPE html>
<html>
<head>
<title>
<neq name="ts['site']['page_title']" value="">
    {$ts['site']['page_title']} <neq name="ts['app']['app_alias']" value="">- {$ts['app']['app_alias']} </neq>- {$ts['site']['site_name']}
<else/>
    {$ts['site']['site_name']} <neq name="ts['site']['site_slogan']" value=""> - {$ts['site']['site_slogan']}</neq>
</neq>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9">
<link rel="stylesheet" type="text/css" href="__THEME__/css/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="__THEME__/css/<?php echo get_css_name();?>.css" />
<!--[if  IE]>
<script src="__THEME__/js/html5.js"></script>
<![endif]-->
<script>
	var _UID_   = '{$uid}';
	var _MID_   = '{$mid}';
	var _ROOT_  = '__ROOT__';
	var _THEME_ = '__THEME__';
	var _PUBLIC_ = '__PUBLIC__';
	var _LENGTH_ = {$GLOBALS['ts']['site']['length']};
    var _LANG_SET_ = '{:LANG_SET}';
    var bgerr;
    try { document.execCommand('BackgroundImageCache', false, true);} catch(e) {  bgerr = e;}
</script>

<!-- 核心JS加载 -->
<script type="text/javascript" src="__THEME__/js/jquery.js"></script>
<script type="text/javascript" src="__THEME__/js/jquery-ui.min.js"></script>
<!-- thinksns js -->
<script type="text/javascript" src="__THEME__/js/bootstrap.php"></script>

</head>

<body>
	<header>
		<section class="theme_select">
			<div class="header">
				<ul class="ages">
					<li><a href="?period=0">备孕</a></li>
					<li><a href="?period=1">孕期</a></li>
					<li><a href="?period=2">分娩</a></li>
					<li><a href="?period=3" class="current">0-1岁</a></li>
					<li><a href="?period=4">1-3岁</a></li>
					<li><a href="?period=5">3-6岁</a></li>
				</ul>
				<ul class="selector">
					<li><a href="#" class="spring"></a></li>
					<li><a href="#" class="summer"></a></li>
					<li><a href="#" class="autumn"></a></li>
					<li><a href="#" class="winter"></a></li>
				</ul>
			</div>
		</section>

		<section class="global_nav">
			<a class="logo" href="/" title="哎呀哇"><img src="__THEME__/image/logo.png" /></a>
			<article>
				<ul class="common_tools">
					<li><a href="#" id="tool_doodle"><em class="doodle"></em>涂鸦</a></li>
					<li><a href="#" id="tool_music"><em class="music"></em>音乐</a></li>
					<session name="userInfo">
					<li><a href="{:U('home/public/logout')}" id="tool_logout"><em class="user"></em>退出</a></li>
					</session>
				</ul>
				<div class="navi_link">
					<menu>
						<li>{:set_nav('home/food/index', '饮食')}</li> 
						<li>{:set_nav('home/health/index', '健康')}</li> 
						<li>{:set_nav('home/edu/index', '教育')}</li> 
						<li>{:set_nav('home/apps/index', '应用')}</li> 
					</menu>
					<form class="search_bar" action="" method="GET">
						<input type="text" class="keywords" placeholder="找朋友?" />
						<button class="search_button"></button>
					</form>
				</div>
			</article>
		</section>
	</header>